package com.cy.milktea.service;

import com.cy.milktea.pojo.Order;
import com.cy.milktea.pojo.QueuingOrder;
import com.cy.milktea.utils.PageHelperUtils;
import java.util.Date;
import java.util.List;

public interface OrderService {

    void finish(QueuingOrder order);

    PageHelperUtils.PageInfo<Order> queryHistory(String orderID, Date minDate, Date maxDate, String sort);

    QueuingOrder createOnQueue(QueuingOrder order);

    List<QueuingOrder> queryCurrentQueue();

    QueuingOrder queryCurrentBySortIdOnQueue(String sortId);

    void deleteBySortIdOnQueue(String sortId);


}
